package it.sd.wdc.spider.repository;

import java.util.Iterator;
import java.util.LinkedList;

public class WDCAbstractStep extends WDCAbstractBean {
    
    protected String name;
    protected String description;
    
    protected LinkedList<WDCParams> inputParams = new LinkedList<WDCParams>();
    protected LinkedList<WDCParams> outputParams = new LinkedList<WDCParams>();
    protected LinkedList<WDCStepResult> stepResults= new LinkedList<WDCStepResult>();

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Iterator<WDCParams> iterateInputParams() {
		return inputParams.iterator();
	}
	public void setInputParams(LinkedList<WDCParams> inputParams) {
		this.inputParams = inputParams;
	}
	public Iterator<WDCParams> iterateOutputParams() {
		return outputParams.iterator();
	}
	public void setOutputParams(LinkedList<WDCParams> outputParams) {
		this.outputParams = outputParams;
	}
	public Iterator<WDCStepResult> iterateStepResults() {
		return stepResults.iterator();
	}
    
	public void addInputParam(WDCParams param) {
		inputParams.add(param);
	}

	public void addOutputParam(WDCParams param) {
		outputParams.add(param);
	}
	public void addStepResult(WDCStepResult param) {
		stepResults.add(param);
	}

	
}
